package org.nf.shopping.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.shopping.entity.Order;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-12-18
 */
public interface OrderMapper {
    List<Order> listOrder(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("id") String id);

    void updateOrder(Order order);

    void deloneOrder(Integer id);

    void addOrder(Order order);

    List<Order> getOrderList();
}
